-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes expressjs/multer#553 . Makes multer handle missing field names. #913
Fixes expressjs/multer#553 . Makes multer handle missing field names. #913
Conversation
Without this fix fields without a name result in a "TypeError: Cannot read property 'length' of undefined" in the underlying append-field library. The current change allows getting an error from multer that makes it possible to handle it in servers.
c1ad9bb
to
97d3867
Compare
Any way to get that PR merged? Seeing this issue with our NestJS services :( |
Same here, though I first went with patching busboy: https://github.com/mscdex/busboy/pull/244/files I hesitated doing something similar in multer instead. That PR looks exactly like what I was looking for. |
Any news? |
Sorry for the very slow reply on this! Released as 1.4.4 🚀 |
Fixes expressjs#553 Without this fix fields without a name result in a "TypeError: Cannot read property 'length' of undefined" in the underlying append-field library. The current change allows getting an error from Multer that makes it possible to handle it in servers. Co-authored-by: Linus Unnebäck <linus@folkdatorn.se>
Fixes expressjs#553 Without this fix fields without a name result in a "TypeError: Cannot read property 'length' of undefined" in the underlying append-field library. The current change allows getting an error from Multer that makes it possible to handle it in servers. Co-authored-by: Linus Unnebäck <linus@folkdatorn.se>
Fixes expressjs#553 Without this fix fields without a name result in a "TypeError: Cannot read property 'length' of undefined" in the underlying append-field library. The current change allows getting an error from Multer that makes it possible to handle it in servers. Co-authored-by: Linus Unnebäck <linus@folkdatorn.se>
Fixes expressjs#553 Without this fix fields without a name result in a "TypeError: Cannot read property 'length' of undefined" in the underlying append-field library. The current change allows getting an error from Multer that makes it possible to handle it in servers. Co-authored-by: Linus Unnebäck <linus@folkdatorn.se>
Without this fix fields without a name result in a "TypeError: Cannot read property 'length' of undefined"
in the underlying append-field library.
The current change allows getting an error from multer that makes it
possible to handle it in servers.
See #553